package com.puppet.building.service;

import com.puppet.building.pojo.Building;
import com.puppet.building.pojo.Owner;
import com.puppet.building.pojo.vo.OwnerVO;

import java.util.List;

public interface OwnerService {
    List<Owner> getAllOwner();

    Integer addNewOwner(Owner owner);

    Owner getAllOwnerById(Integer id);

    Integer updateOwner(Owner owner);

    List<OwnerVO> getOwnerNameAnId();
}
